/**
 * Copyright (c) 快宝网络 kuaidihelp.com Co., Ltd. All Rights Reserved 禁止外泄以及用于其它的商业用途
 */

import request from "@/utils/request";
import { serializeGetData } from "@/utils/utils";

export async function getExpressInfo(params) {
  return request("/Api/YZ/CourierStation/getExpress", {
    method: "POST",
    body: params,
  });
}
// 代收货款管理，物流信息
export async function getOrderPaymentExpressInfo(params) {
  return request("/Api/orderManage/CollectionOfPayment/express", {
    method: "POST",
    body: params,
  });
}
// 单号记录，物流信息
export async function getOrderExpressInfo(params) {
  return request(`/Api/orderManage/WaybillRecord/getExpressInfo?${serializeGetData(params)}`, {
    method: "GET",
  });
}
// 共配，获取物流信息
export async function getGpExpressInfo(params) {
  return request("/v1/TotalDistribution/CustomScan/getExpressInfo", {
    method: "POST",
    body: params,
  });
}
